package com.javafactroy.kunlong.data.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import com.javafactroy.kunlong.data.entity.VDeptApiEntity;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import javax.persistence.*;
import java.util.List;

/**
*  @author raymond.lei@163.com
*  @date   2023-12-04 15:06:33

*/
@Data
@Table(name="v_dept")
@ApiModel("VIEW")
@Accessors(chain = true)
@ExcelIgnoreUnannotated
public class VDeptApiDto extends VDeptApiEntity {
    @Transient
    Boolean hasRight = true ;

    @Transient
    List<VDeptApiDto> child;
}